import time


class TimeUtil:
    @staticmethod
    def formatTimestamps(timestamps):
        localtime = time.localtime(timestamps)
        return time.strftime('%Y-%m-%d %H:%M:%S',localtime)